home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / danix201.zip / CMP.1 < prev    next >
Text File  |  1994-01-13  |  673b  |  23 lines

  1. CMP(1)                Danix Utilities                CMP(1)
  2.  
  3. NAME
  4.     cmp - compare files
  5.  
  6. SYNOPSIS
  7.     cmp [ -ls ] file1 file2
  8.  
  9. DESCRIPTION
  10.     cmp compares two files character for character.  By default
  11.     the first difference in the two files is output.
  12.  
  13.     -l Output all differences in the two files.  Differences
  14.        are given by offset in the two files followed by the
  15.        octal characters of the two files.
  16.  
  17.     -s Silent mode.  No output is generated, but exit codes are set.
  18.  
  19. DIAGNOSTICS
  20.     An exit code of 0 indicates that the files were identical.  Differing
  21.     files are indicated by an exit code of 1.  An error in the command
  22.     line or file modes is indicated by an exit code of 2.
  23.